s=input("请输入字符串：")
d={}
for j in s :
    d[j]=d.get(j,0)+1
for key,value in d.items():
    print(key,value,sep=":")
max_char=max(d,key=d.get)
print('出现次数最多的字符是：',max_char  )